<template>
  <div class="q-pa-md q-gutter-md">
    <t-input-number
      v-model.number="num"
      @change="handler"
      @blur="handler"
      label="Number"
      :step="1"
      :clearable='true'
      labelPosition='top'
      :accuracy="0"
      min="0"
      max="100"
    ></t-input-number>
    <t-label>{{ num }}</t-label>
  </div>
</template>

<script setup>
import { ref } from 'vue';
const num = ref('');
function handler(data) {
  console.log(data,'nihao')
}
</script>

<style lang="sass" scoped></style>
